
#pragma once

#include <cstdint>
#include <vector>
#include <string>

#define TM_SERVICE_IP "????????"
#define TM_SERVICE_PORT 50700
#define AP_LOCAL_IP "198.18.32.2"
#define AP_LOCAL_PORT 50535
#define AP_VLAN_ID 0
#define AP_VLAN_PRIORITY 0

namespace ecarx::transfer::ipcp{

    struct IpcpValue {
        uint16_t service_id;
        uint16_t oper_id;
        uint8_t oper_type;
        uint8_t payload_type;
        void* payload;
        std::size_t payload_len;
        char peer_ip[16];
        uint16_t peer_port;
    };
}
